package com.wh.shiroswagger.exception;

/**
 * @Auther: HuiEr
 * @Date: 2020/3/5 20:44
 * @Description
 */
public class BusinessException extends RuntimeException {
    private int excode;
    private String exmsg;

    public BusinessException(int excode,String exmsg){
        super(exmsg);
        this.excode=excode;
        this.exmsg=exmsg;
    }

    public String getExmsg(){
        return exmsg;
    }

    public int getExcode(){
        return excode;
    }
}
